package com.test.application.designPatterns.principles_design.jiekougeli.after;

import com.test.application.designPatterns.principles_design.jiekougeli.after.doorfunctions.FireDefendFunction;
import com.test.application.designPatterns.principles_design.jiekougeli.after.doorfunctions.TheftDefendFunction;
import com.test.application.designPatterns.principles_design.jiekougeli.after.doorfunctions.WaterDefendFunction;

/**
 * 描述: TODO
 * 作者: yanruizhi
 * 时间: 2024/9/18 15:15
 */
public class HeiMaDoor implements FireDefendFunction, WaterDefendFunction, TheftDefendFunction {

    @Override
    public void theftDefend() {
        System.out.println("防盗");
    }

    @Override
    public void waterDefend() {
        System.out.println("防水");
    }

    @Override
    public void fireDefend() {

        System.out.println("防火");
    }
}
